<html>
<head>
<title>Docs For Class itZendStyleTemplate</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">Intelligencer</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_Intelligencer.html" class="menu">class tree: Intelligencer</a> ]
		  [ <a href="../elementindex_Intelligencer.html" class="menu">index: Intelligencer</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_Intelligencer.html">Intelligencer</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../Intelligencer/_LibUtil---Cache---itCache.php.html">		itCache.php
		</a><br>
			<a href="../Intelligencer/_Rules---itClassRules.php.html">		itClassRules.php
		</a><br>
			<a href="../Intelligencer/_Rules---itClassRulesConvertibleI.php.html">		itClassRulesConvertibleI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itComplexRules.php.html">		itComplexRules.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itException.php.html">		itException.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itIntelligencer.php.html">		itIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_itLoader.php.html">		itLoader.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itLocalCache.php.html">		itLocalCache.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Logger---itLoggerI.php.html">		itLoggerI.php
		</a><br>
			<a href="../Intelligencer/_Manager---itManager.php.html">		itManager.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itNullRulesException.php.html">		itNullRulesException.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Exception---itParameterException.php.html">		itParameterException.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Logger---itPearLogger.php.html">		itPearLogger.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itPersistentCache.php.html">		itPersistentCache.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Cache---itPersistentCacheableI.php.html">		itPersistentCacheableI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itRules.php.html">		itRules.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itRulesIntelligencer.php.html">		itRulesIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScanner.php.html">		itScanner.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerI.php.html">		itScannerI.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerResult.php.html">		itScannerResult.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---Scanner---itScannerResultI.php.html">		itScannerResultI.php
		</a><br>
			<a href="../Intelligencer/_Rules---itSimpleRules.php.html">		itSimpleRules.php
		</a><br>
			<a href="../Intelligencer/_Rules---itSimpleRulesConvertibleI.php.html">		itSimpleRulesConvertibleI.php
		</a><br>
			<a href="../Intelligencer/_Template---itSimpleTemplate.php.html">		itSimpleTemplate.php
		</a><br>
			<a href="../Intelligencer/_Template---itTemplate.php.html">		itTemplate.php
		</a><br>
			<a href="../Intelligencer/_Intelligencer---itTemplateIntelligencer.php.html">		itTemplateIntelligencer.php
		</a><br>
			<a href="../Intelligencer/_LibUtil---itUtil.php.html">		itUtil.php
		</a><br>
			<a href="../Intelligencer/_Template---itZendStyleTemplate.php.html">		itZendStyleTemplate.php
		</a><br>
	  </div><br />
      
            <b>Interfaces:</b><br />
        <div class="package">
		    		<a href="../Intelligencer/itClassRulesConvertibleI.html">itClassRulesConvertibleI</a><br />
	    		<a href="../Intelligencer/itLoggerI.html">itLoggerI</a><br />
	    		<a href="../Intelligencer/itPersistentCacheableI.html">itPersistentCacheableI</a><br />
	    		<a href="../Intelligencer/itScannerI.html">itScannerI</a><br />
	    		<a href="../Intelligencer/itScannerResultI.html">itScannerResultI</a><br />
	    		<a href="../Intelligencer/itSimpleRulesConvertibleI.html">itSimpleRulesConvertibleI</a><br />
	  </div>
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../Intelligencer/itCache.html">itCache</a><br />
	    		<a href="../Intelligencer/itClassRules.html">itClassRules</a><br />
	    		<a href="../Intelligencer/itComplexRules.html">itComplexRules</a><br />
	    		<a href="../Intelligencer/itException.html">itException</a><br />
	    		<a href="../Intelligencer/itIntelligencer.html">itIntelligencer</a><br />
	    		<a href="../Intelligencer/itLoader.html">itLoader</a><br />
	    		<a href="../Intelligencer/itLocalCache.html">itLocalCache</a><br />
	    		<a href="../Intelligencer/itManager.html">itManager</a><br />
	    		<a href="../Intelligencer/itNullRulesException.html">itNullRulesException</a><br />
	    		<a href="../Intelligencer/itParameterException.html">itParameterException</a><br />
	    		<a href="../Intelligencer/itPearLogger.html">itPearLogger</a><br />
	    		<a href="../Intelligencer/itPersistentCache.html">itPersistentCache</a><br />
	    		<a href="../Intelligencer/itRules.html">itRules</a><br />
	    		<a href="../Intelligencer/itRulesIntelligencer.html">itRulesIntelligencer</a><br />
	    		<a href="../Intelligencer/itScanner.html">itScanner</a><br />
	    		<a href="../Intelligencer/itScannerResult.html">itScannerResult</a><br />
	    		<a href="../Intelligencer/itSimpleRules.html">itSimpleRules</a><br />
	    		<a href="../Intelligencer/itSimpleTemplate.html">itSimpleTemplate</a><br />
	    		<a href="../Intelligencer/itTemplate.html">itTemplate</a><br />
	    		<a href="../Intelligencer/itTemplateIntelligencer.html">itTemplateIntelligencer</a><br />
	    		<a href="../Intelligencer/itUtil.html">itUtil</a><br />
	    		<a href="../Intelligencer/itZendStyleTemplate.html">itZendStyleTemplate</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: itZendStyleTemplate</h1>
Source Location: /Template/itZendStyleTemplate.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../Intelligencer/itTemplate.html">itTemplate</a>
   |
   --itZendStyleTemplate</pre><br />
<div class="description">This template implements very popular zend autoloading approach.</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>drapeko</li>
      </ul>




    

        
</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#var$acceptUnregisteredNamespaces">$acceptUnregisteredNamespaces</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#var$isNamespaceAsDir">$isNamespaceAsDir</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#var$namespaces">$namespaces</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#var$postfix">$postfix</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#var$prefix">$prefix</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#method__construct">__construct</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodacceptUnregisteredNamespaces">acceptUnregisteredNamespaces</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodgetPath">getPath</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodgetPostfix">getPostfix</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodgetPrefix">getPrefix</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodgetRegisteredNamespaces">getRegisteredNamespaces</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodisAcceptUnregisteredNamespaces">isAcceptUnregisteredNamespaces</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodisNamespaceAsDir">isNamespaceAsDir</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodsetNamespaceAsDir">setNamespaceAsDir</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodsetPostfix">setPostfix</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodsetPrefix">setPrefix</a></li>
    <li><a href="../Intelligencer/itZendStyleTemplate.html#methodsetRegisteredNamespaces">setRegisteredNamespaces</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>




<td valign="top">
<h3>Inherited Variables</h3>
<div class="tags">
<h4>Class: <a href="../Intelligencer/itTemplate.html">itTemplate</a></h4>
<dl>
<dt>
  <a href="../Intelligencer/itTemplate.html#var$intelligencer">itTemplate::$intelligencer</a>
  </dt>
<dd>
   
</dd>
</dl>
</div>
</td>

<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../Intelligencer/itTemplate.html">itTemplate</a></h4>
<dl>
    <dt>
    <a href="../Intelligencer/itTemplate.html#methodgetIntelligencer">itTemplate::getIntelligencer()</a>
  </dt>
  <dd>
    Returns the Inetelligencer.
  </dd>
    <dt>
    <a href="../Intelligencer/itTemplate.html#methodgetPath">itTemplate::getPath()</a>
  </dt>
  <dd>
    Returns the location or an array of possible locations by the class name.
  </dd>
    <dt>
    <a href="../Intelligencer/itTemplate.html#methodsetIntelligencer">itTemplate::setIntelligencer()</a>
  </dt>
  <dd>
    Sets the Intelligencer.
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a24">24</a>]<br />
This template implements very popular zend autoloading approach.<br /><br /><p>Example: class called AAA_BBB_CC is located in AAA/BBB/CCC.php</p><p><ol><li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$template&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../Intelligencer/itZendStyleTemplate.html">itZendStyleTemplate</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itZendStyleTemplate.html#methodsetPrefix">setPrefix</a><span class="src-sym">(</span><span class="src-str">'C:/My&nbsp;Documents/Project/Lib/'</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itZendStyleTemplate.html#methodsetPostfix">setPostfix</a><span class="src-sym">(</span><span class="src-str">'.php'</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><span class="src-id">load</span><span class="src-sym">(</span><span class="src-str">'ClassA'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>drapeko</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$acceptUnregisteredNamespaces"></a>
	<p></p>
	<h4>$acceptUnregisteredNamespaces = <span class="value">&nbsp;true</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a29">29</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$isNamespaceAsDir"></a>
	<p></p>
	<h4>$isNamespaceAsDir = <span class="value">&nbsp;true</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a30">30</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$namespaces"></a>
	<p></p>
	<h4>$namespaces = <span class="value">array(null)</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a28">28</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$postfix"></a>
	<p></p>
	<h4>$postfix = <span class="value">&nbsp;'.php'</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a27">27</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$prefix"></a>
	<p></p>
	<h4>$prefix = <span class="value">&nbsp;''</span></h4>
	<p>[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a26">26</a>]</p>
  <br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a32">32</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>itZendStyleTemplate __construct(
[
$prefix = ''], [
$postfix = ''])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$prefix</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$postfix</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodacceptUnregisteredNamespaces"></a>
	<h3>method acceptUnregisteredNamespaces <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a105">105</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> acceptUnregisteredNamespaces(
[boolean
$accept = true])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets whether to accept unregistered namespaces. By default Template accepts unregistered namespaces.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td><a href="../Intelligencer/itZendStyleTemplate.html#methodsetRegisteredNamespaces">itZendStyleTemplate::setRegisteredNamespaces()</a></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$accept</b>&nbsp;&nbsp;</td>
        <td>true</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetPath"></a>
	<h3>method getPath <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a151">151</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string getPath(
string
$className)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the exact location of the file by the class name<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	Overrides <a href="../Intelligencer/itTemplate.html#methodgetPath">itTemplate::getPath()</a> (Returns the location or an array of possible locations by the class name.)<br /><br />
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$className</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetPostfix"></a>
	<h3>method getPostfix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a74">74</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string getPostfix(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the postfix of the file<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetPrefix"></a>
	<h3>method getPrefix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a56">56</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>string getPrefix(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the prefix<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetRegisteredNamespaces"></a>
	<h3>method getRegisteredNamespaces <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a142">142</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>array getRegisteredNamespaces(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns registered namespaces<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodisAcceptUnregisteredNamespaces"></a>
	<h3>method isAcceptUnregisteredNamespaces <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a114">114</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean isAcceptUnregisteredNamespaces(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns whether accepts unregistered namespaces.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodisNamespaceAsDir"></a>
	<h3>method isNamespaceAsDir <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a94">94</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean isNamespaceAsDir(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns whether namespace should be treated as dir.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetNamespaceAsDir"></a>
	<h3>method setNamespaceAsDir <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a85">85</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> setNamespaceAsDir(
[boolean
$value = true])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets whether to take namespace in account of creating the path.<br /><br /><p>If true Namespace\Dir_Class class should be located in Namespace/Dir/Class.php. If false in Dir/Class.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$value</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetPostfix"></a>
	<h3>method setPostfix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a65">65</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> setPostfix(
[string
$postfix = ''])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the postfix of the file (usually file extension)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$postfix</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetPrefix"></a>
	<h3>method setPrefix <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a47">47</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> setPrefix(
[string
$prefix = ''])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets the prefix to the path (path base)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$prefix</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetRegisteredNamespaces"></a>
	<h3>method setRegisteredNamespaces <span class="smalllinenumber">[line <a href="../__filesource/fsource_Intelligencer__TemplateitZendStyleTemplate.php.html#a133">133</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Intelligencer/itTemplate.html">itTemplate</a> setRegisteredNamespaces(
mixed
$namespaces)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Registers namespaces. It's very convenient when you want to create template that handles classes only from particular namespaces.<br /><br /><p>If you want to search for classes that are not in namespaces use 'null'. By default 'null' namespace is registered.  Please pay attention that Template accepts unregistered namespaces by default. It means that getPath won't look  whether the namespace registered or not registered if you do not tell it explicitly.</p><p>For example,  I would like my template to handle classes which are in YYY namespaces and which are in none namespaces.  <ol><li><div class="src-line">&nbsp;&nbsp;<span class="src-var">$template&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../Intelligencer/itZendStyleTemplate.html">itZendStyleTemplate</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;<span class="src-var">$template</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itZendStyleTemplate.html#methodacceptUnregisteredNamespaces">acceptUnregisteredNamespaces</a><span class="src-sym">(</span><span class="src-id">false</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><a href="../Intelligencer/itZendStyleTemplate.html#methodsetRegisteredNamespaces">setRegisteredNamespaces</a><span class="src-sym">(</span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-id">null</span><span class="src-sym">,&nbsp;</span><span class="src-str">'YYY'</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
</ol></p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>itself</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$namespaces</b>&nbsp;&nbsp;</td>
        <td>array or string</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Sat, 24 Apr 2010 17:13:20 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>